home *** CD-ROM | disk | FTP | other *** search
/ Quick PC 62 / Quick PC 62.iso / I386 / DRIVER.CAB / hp5si.gpd < prev    next >
Encoding:
Text File  |  1999-07-08  |  55.9 KB  |  1,852 lines

  1. *GPDSpecVersion: "1.0"
  2. *GPDFileVersion: "1.0"
  3. *GPDFileName: "hp5si.gpd"
  4. *Include: "StdNames.gpd"
  5. *Include: "ttfsub.gpd"
  6. *ModelName: "HP LaserJet 5Si"
  7. *MasterUnits: PAIR(1200, 1200)
  8.  
  9. *ResourceDLL: "pcl5eres.dll"
  10. *HelpFile: "hplj5si.hlp"
  11.  
  12. *FontCartSlots: 4
  13. *PrinterType: PAGE
  14. *MaxCopies: 999
  15.  
  16. *PrintRate: 24
  17. *PrintRateUnit: PPM
  18. *PrintRatePPM: 24
  19.  
  20. *rcInstalledOptionNameID:    443 *% Installed
  21. *rcNotInstalledOptionNameID: 444 *% Not Installed
  22.  
  23. *Feature: Orientation
  24. {
  25.     *rcNameID: =ORIENTATION_DISPLAY
  26.     *DefaultOption: PORTRAIT
  27.     *Option: PORTRAIT
  28.     {
  29.         *rcNameID: =PORTRAIT_DISPLAY
  30.         *Command: CmdSelect
  31.         {
  32.             *Order: DOC_SETUP.8
  33.     *NoPageEject?: TRUE
  34.             *Cmd: "<1B>&l0o1E"
  35.         }
  36.     }
  37.     *Option: LANDSCAPE_CC90
  38.     {
  39.         *rcNameID: =LANDSCAPE_DISPLAY
  40.         *Command: CmdSelect
  41.         {
  42.             *Order: DOC_SETUP.8
  43.     *NoPageEject?: TRUE
  44.             *Cmd: "<1B>&l1o1E"
  45.         }
  46.     }
  47. }
  48.  
  49. *Feature: InputBin
  50. {
  51.     *rcNameID: =PAPER_SOURCE_DISPLAY
  52.     *DefaultOption: Option1
  53.     *Option: Option1
  54.     {
  55.         *rcNameID: 271  *% Automatically Select
  56.         *Command: CmdSelect
  57.         {
  58.             *Order: DOC_SETUP.11
  59.             *Cmd: "<1B>&l7H"
  60.         }
  61.     }
  62.     *Option: UPPER
  63.     {
  64.         *rcNameID: =UPPER_TRAY_DISPLAY  *% Upper Paper tray
  65.         *Command: CmdSelect
  66.         {
  67.             *Order: DOC_SETUP.11
  68.             *Cmd: "<1B>&l1H"
  69.         }
  70.     }
  71.     *Option: MANUAL
  72.     {
  73.         *rcNameID: =MANUAL_FEED_DISPLAY  *% Manual Paper feed
  74.         *Command: CmdSelect
  75.         {
  76.             *Order: DOC_SETUP.11
  77.             *Cmd: "<1B>&l2H"
  78.         }
  79.     }
  80.     *Option: ENVMANUAL
  81.     {
  82.         *rcNameID: =ENV_MANUAL_DISPLAY  *% Envelope, Manual Feed
  83.         *Command: CmdSelect
  84.         {
  85.             *Order: DOC_SETUP.11
  86.             *Cmd: "<1B>&l3H"
  87.         }
  88.     }
  89.     *Option: LOWER
  90.     {
  91.         *rcNameID: =LOWER_TRAY_DISPLAY  *% Lower Paper tray
  92.         *Command: CmdSelect
  93.         {
  94.             *Order: DOC_SETUP.11
  95.             *Cmd: "<1B>&l4H"
  96.         }
  97.     }
  98.     *Option: ENVFEED
  99.     {
  100.         *rcNameID: =ENV_FEED_DISPLAY  *% Envelope Feeder
  101.         *Command: CmdSelect
  102.         {
  103.             *Order: DOC_SETUP.11
  104.             *Cmd: "<1B>&l6H"
  105.         }
  106.     }
  107.     *Option: Option7
  108.     {
  109.         *rcNameID: 274  *% MP Tray
  110.         *Command: CmdSelect
  111.         {
  112.             *Order: DOC_SETUP.11
  113.             *Cmd: "<1B>&l8H"
  114.         }
  115.     }
  116.     *Option: LARGECAPACITY
  117.     {
  118.         *rcNameID: =LARGE_CAP_DISPLAY  *% Large Capacity
  119.         *Command: CmdSelect
  120.         {
  121.             *Order: DOC_SETUP.11
  122.             *Cmd: "<1B>&l5H"
  123.         }
  124.     }
  125. }
  126.  
  127. *% IMPORTANT NOTE:
  128. *% The OEM customization code assumes that this feature's keyname is
  129. *%   "EnvFeeder"
  130. *% The OEM customization code assumes that the options are named "TRUE" and
  131. *%   "FALSE"
  132. *%
  133. *% explicit feature to constrain env feeder
  134. *Feature: EnvFeeder
  135. {
  136.     *rcNameID: =ENV_FEED_DISPLAY
  137.     *HelpIndex: 12000
  138.     *FeatureType: PRINTER_PROPERTY
  139.     *DefaultOption: FALSE
  140.     *Option: FALSE
  141.     {
  142.         *rcNameID: 444
  143.     }
  144.     *Option: TRUE
  145.     {
  146.         *rcNameID: 443
  147.     }
  148. }
  149. *InvalidCombination: LIST(EnvFeeder.FALSE,InputBin.ENVFEED)
  150.  
  151. *% IMPORTANT NOTE:
  152. *% The OEM customization code assumes that this feature's keyname is
  153. *%   "HCI"
  154. *% The OEM customization code assumes that the options are named "NONE" and
  155. *%   "2000HCI"
  156. *%
  157. *% explicit feature to constrain tray 4
  158. *Feature: HCI
  159. {
  160.     *rcNameID: 373   *%High Capacity Input
  161.     *HelpIndex: 12001
  162.     *FeatureType: PRINTER_PROPERTY
  163.     *DefaultOption: NONE
  164.     *Option: NONE
  165.     {
  166.         *rcNameID: 444
  167.     }
  168.     *Option: 2000HCI
  169.     {
  170.         *rcNameID: 427
  171.     }
  172. }
  173. *InvalidCombination: LIST(HCI.NONE,InputBin.LARGECAPACITY)
  174.  
  175. *Feature: Resolution
  176. {
  177.     *rcNameID: =RESOLUTION_DISPLAY
  178.     *DefaultOption: Option1
  179.     *Option: Option1
  180.     {
  181.         *Name: "600 x 600 " =DOTS_PER_INCH
  182.         *DPI: PAIR(600, 600)
  183.         *TextDPI: PAIR(600, 600)
  184.         *MinStripBlankPixels: 32
  185.         EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  186.         *SpotDiameter: 100
  187.         *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  188.         *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  189.         *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  190.         *Command: CmdSelect
  191.         {
  192.             *Order: JOB_SETUP.6
  193.             *Cmd: "@PJL SET RESOLUTION=600<0A>@PJL ENTER LANGUAGE=PCL<0A0D1B>E<1B>*t600R"
  194.         }
  195.     }
  196.     *Option: Option2
  197.     {
  198.         *Name: "300 x 300 " =DOTS_PER_INCH
  199.         *DPI: PAIR(300, 300)
  200.         *TextDPI: PAIR(300, 300)
  201.         *MinStripBlankPixels: 32
  202.         EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  203.         *SpotDiameter: 100
  204.         *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  205.         *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  206.         *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  207.         *Command: CmdSelect
  208.         {
  209.             *Order: JOB_SETUP.6
  210.             *Cmd: "@PJL SET RESOLUTION=300<0A>@PJL ENTER LANGUAGE=PCL<0A0D1B>E<1B>*t300R"
  211.         }
  212.     }
  213. }
  214.  
  215.  
  216. *% define macro for common paper constraints
  217. *BlockMacro: PaperConstraints
  218. {
  219.     *Constraints: LIST(InputBin.UPPER, InputBin.LOWER, InputBin.LARGECAPACITY)
  220. }
  221.  
  222.  
  223. *Feature: PaperSize
  224. {
  225.     *rcNameID: =PAPER_SIZE_DISPLAY
  226.     *DefaultOption: LETTER
  227.     *Option: LETTER
  228.     {
  229.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  230.         *PageProtectMem: 4109
  231.         *Constraints: InputBin.ENVFEED
  232.         *switch: Orientation
  233.         {
  234.             *case: PORTRAIT
  235.             {
  236.                 *PrintableArea: PAIR(9600, 12648)
  237.                 *PrintableOrigin: PAIR(300, 260)
  238.                 *CursorOrigin: PAIR(300, 220)
  239.                 *Command: CmdSelect
  240.                 {
  241.                     *Order: DOC_SETUP.12
  242.                     *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t5760x7704Y"
  243.                 }
  244.             }
  245.             *case: LANDSCAPE_CC90
  246.             {
  247.                 *PrintableArea: PAIR(9760, 12688)
  248.                 *PrintableOrigin: PAIR(200, 272)
  249.                 *CursorOrigin: PAIR(200, 12960)
  250.                 *Command: CmdSelect
  251.                 {
  252.                     *Order: DOC_SETUP.12
  253.                     *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t7632x5880Y"
  254.                 }
  255.             }
  256.         }
  257.     }
  258.     *Option: LETTERSMALL
  259.     {
  260.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  261.         *PageProtectMem: 4109
  262.         *Constraints: InputBin.ENVFEED
  263.         *switch: Orientation
  264.         {
  265.             *case: PORTRAIT
  266.             {
  267.                 *PrintableArea: PAIR(9600, 12648)
  268.                 *PrintableOrigin: PAIR(300, 260)
  269.                 *CursorOrigin: PAIR(300, 220)
  270.                 *Command: CmdSelect
  271.                 {
  272.                     *Order: DOC_SETUP.12
  273.                     *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t5760x7704Y"
  274.                 }
  275.             }
  276.             *case: LANDSCAPE_CC90
  277.             {
  278.                 *PrintableArea: PAIR(9760, 12688)
  279.                 *PrintableOrigin: PAIR(200, 272)
  280.                 *CursorOrigin: PAIR(200, 12960)
  281.                 *Command: CmdSelect
  282.                 {
  283.                     *Order: DOC_SETUP.12
  284.                     *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t7632x5880Y"
  285.                 }
  286.             }
  287.         }
  288.     }
  289.  
  290.     *Option: NOTE
  291.     {
  292.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  293.         *PageProtectMem: 4109
  294.         *Constraints: InputBin.ENVFEED
  295.         *switch: Orientation
  296.         {
  297.             *case: PORTRAIT
  298.             {
  299.                 *PrintableArea: PAIR(9600, 12648)
  300.                 *PrintableOrigin: PAIR(300, 260)
  301.                 *CursorOrigin: PAIR(300, 220)
  302.                 *Command: CmdSelect
  303.                 {
  304.                     *Order: DOC_SETUP.12
  305.                     *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t5760x7704Y"
  306.                 }
  307.             }
  308.             *case: LANDSCAPE_CC90
  309.             {
  310.                 *PrintableArea: PAIR(9760, 12688)
  311.                 *PrintableOrigin: PAIR(200, 272)
  312.                 *CursorOrigin: PAIR(200, 12960)
  313.                 *Command: CmdSelect
  314.                 {
  315.                     *Order: DOC_SETUP.12
  316.                     *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t7632x5880Y"
  317.                 }
  318.             }
  319.         }
  320.     }
  321.     *Option: A4SMALL
  322.     {
  323.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  324.         *PageProtectMem: 4249
  325.         *Constraints: InputBin.ENVFEED
  326.         *switch: Orientation
  327.         {
  328.             *case: PORTRAIT
  329.             {
  330.                 *PrintableArea: PAIR(9292, 13476)
  331.                 *PrintableOrigin: PAIR(300, 300)
  332.                 *CursorOrigin: PAIR(300, 200)
  333.                 *Command: CmdSelect
  334.                 {
  335.                     *Order: DOC_SETUP.12
  336.                     *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t5594x8201Y"
  337.                 }
  338.             }
  339.             *case: LANDSCAPE_CC90
  340.             {
  341.                 *PrintableArea: PAIR(9464, 13516)
  342.                 *PrintableOrigin: PAIR(220, 272)
  343.                 *CursorOrigin: PAIR(200, 13788)
  344.                 *Command: CmdSelect
  345.                 {
  346.                     *Order: DOC_SETUP.12
  347.                     *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t8129x5714Y"
  348.                 }
  349.             }
  350.         }
  351.     }
  352.     *Option: LEGAL
  353.     {
  354.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  355.         *PageProtectMem: 5230
  356.         *Constraints: InputBin.ENVFEED
  357.         *switch: Orientation
  358.         {
  359.             *case: PORTRAIT
  360.             {
  361.                 *PrintableArea: PAIR(9600, 16248)
  362.                 *PrintableOrigin: PAIR(300, 300)
  363.                 *CursorOrigin: PAIR(300, 180)
  364.                 *Command: CmdSelect
  365.                 {
  366.                     *Order: DOC_SETUP.12
  367.                     *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t5760x9864Y"
  368.                 }
  369.             }
  370.             *case: LANDSCAPE_CC90
  371.             {
  372.                 *PrintableArea: PAIR(9760, 16284)
  373.                 *PrintableOrigin: PAIR(200, 276)
  374.                 *CursorOrigin: PAIR(200, 16560)
  375.                 *Command: CmdSelect
  376.                 {
  377.                     *Order: DOC_SETUP.12
  378.                     *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t9792x5880Y"
  379.                 }
  380.             }
  381.         }
  382.     }
  383.     *Option: EXECUTIVE
  384.     {
  385.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  386.         *PageProtectMem: 4109
  387.         *InsertBlock: =PaperConstraints
  388.         *Constraints: InputBin.ENVFEED
  389.         *switch: Orientation
  390.         {
  391.             *case: PORTRAIT
  392.             {
  393.                 *PrintableArea: PAIR(8100, 12048)
  394.                 *PrintableOrigin: PAIR(300, 300)
  395.                 *CursorOrigin: PAIR(300, 180)
  396.                 *Command: CmdSelect
  397.                 {
  398.                     *Order: DOC_SETUP.12
  399.                     *Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t4860x7344Y"
  400.                 }
  401.             }
  402.             *case: LANDSCAPE_CC90
  403.             {
  404.                 *PrintableArea: PAIR(8220, 12080)
  405.                 *PrintableOrigin: PAIR(240, 280)
  406.                 *CursorOrigin: PAIR(200, 12360)
  407.                 *Command: CmdSelect
  408.                 {
  409.                     *Order: DOC_SETUP.12
  410.                     *Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t7272x4980Y"
  411.                 }
  412.             }
  413.         }
  414.     }
  415.     *Option: 11X17
  416.     {
  417.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  418.         *% I pulled this size's values from 4v gpd
  419.         *PageProtectMem: 9350
  420.         *Constraints: InputBin.UPPER
  421.         *Constraints: InputBin.ENVFEED
  422.         *switch: Orientation
  423.         {
  424.             *case: PORTRAIT
  425.             {
  426.                 *PrintableArea: PAIR(12600, 19860)
  427.                 *PrintableOrigin: PAIR(300, 300)
  428.                 *CursorOrigin: PAIR(300, 180)
  429.                 *Command: CmdSelect
  430.                 {
  431.                     *Order: DOC_SETUP.12
  432.                     *Cmd: "<1B>&l6a8c1E<1B>*p0x0Y<1B>*c0t7560x12024Y"
  433.                 }
  434.             }
  435.             *case: LANDSCAPE_CC90
  436.             {
  437.                 *PrintableArea: PAIR(12760, 19920)
  438.                 *PrintableOrigin: PAIR(200, 240)
  439.                 *CursorOrigin: PAIR(200, 20160)
  440.                 *Command: CmdSelect
  441.                 {
  442.                     *Order: DOC_SETUP.12
  443.                     *Cmd: "<1B>&l6a8c1E<1B>*p0x0Y<1B>*c0t11952x7680Y"
  444.                 }
  445.             }
  446.         }
  447.     }
  448.  
  449.     *Option: A4
  450.     {
  451.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  452.         *PageProtectMem: 4249
  453.         *Constraints: InputBin.ENVFEED
  454.         *switch: Orientation
  455.         {
  456.             *case: PORTRAIT
  457.             {
  458.                 *PrintableArea: PAIR(9292, 13476)
  459.                 *PrintableOrigin: PAIR(300, 300)
  460.                 *CursorOrigin: PAIR(300, 200)
  461.                 *Command: CmdSelect
  462.                 {
  463.                     *Order: DOC_SETUP.12
  464.                     *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t5594x8201Y"
  465.                 }
  466.             }
  467.             *case: LANDSCAPE_CC90
  468.             {
  469.                 *PrintableArea: PAIR(9464, 13516)
  470.                 *PrintableOrigin: PAIR(220, 272)
  471.                 *CursorOrigin: PAIR(200, 13788)
  472.                 *Command: CmdSelect
  473.                 {
  474.                     *Order: DOC_SETUP.12
  475.                     *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t8129x5714Y"
  476.                 }
  477.             }
  478.         }
  479.     }
  480.     *Option: ENV_10
  481.     {
  482.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  483.         *PageProtectMem: 4109
  484.         *InsertBlock: =PaperConstraints
  485.         *Constraints: Duplex.VERTICAL
  486.         *Constraints: Duplex.HORIZONTAL
  487.         *switch: Orientation
  488.         {
  489.             *case: PORTRAIT
  490.             {
  491.                 *PrintableArea: PAIR(4296, 10800)
  492.                 *PrintableOrigin: PAIR(300, 300)
  493.                 *CursorOrigin: PAIR(300, 160)
  494.                 *Command: CmdSelect
  495.                 {
  496.                     *Order: DOC_SETUP.12
  497.                     *Cmd: "<1B>&l81a8c1E<1B>*p0x0Y<1B>*c0t2614x6648Y"
  498.                 }
  499.             }
  500.             *case: LANDSCAPE_CC90
  501.             {
  502.                 *PrintableArea: PAIR(4356, 10800)
  503.                 *PrintableOrigin: PAIR(300, 300)
  504.                 *CursorOrigin: PAIR(200, 11100)
  505.                 *Command: CmdSelect
  506.                 {
  507.                     *Order: DOC_SETUP.12
  508.                     *Cmd: "<1B>&l81a8c1E<1B>*p0x0Y<1B>*c0t6480x2734Y"
  509.                 }
  510.             }
  511.         }
  512.     }
  513.     *Option: ENV_DL
  514.     {
  515.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  516.         *PageProtectMem: 4109
  517.         *InsertBlock: =PaperConstraints
  518.         *Constraints: Duplex.VERTICAL
  519.         *Constraints: Duplex.HORIZONTAL
  520.         *switch: Orientation
  521.         {
  522.             *case: PORTRAIT
  523.             {
  524.                 *PrintableArea: PAIR(4596, 9782)
  525.                 *PrintableOrigin: PAIR(300, 260)
  526.                 *switch: Resolution
  527.                 {
  528.                     *case: Option2
  529.                     {
  530. *% Warning: the following printable length is adjusted (9782->9780) so it is divisible by the resolution Y scale.
  531.                         *PrintableArea: PAIR(4596, 9780)
  532.                     }
  533.                 }
  534.                 *CursorOrigin: PAIR(300, 160)
  535.                 *Command: CmdSelect
  536.                 {
  537.                     *Order: DOC_SETUP.12
  538.                     *Cmd: "<1B>&l90a8c1E<1B>*p0x0Y<1B>*c0t2758x6043Y"
  539.                 }
  540.             }
  541.             *case: LANDSCAPE_CC90
  542.             {
  543.                 *PrintableArea: PAIR(4596, 9792)
  544.                 *PrintableOrigin: PAIR(300, 300)
  545.                 *CursorOrigin: PAIR(200, 10092)
  546.                 *Command: CmdSelect
  547.                 {
  548.                     *Order: DOC_SETUP.12
  549.                     *Cmd: "<1B>&l90a8c1E<1B>*p0x0Y<1B>*c0t5875x2878Y"
  550.                 }
  551.             }
  552.         }
  553.     }
  554.     *Option: ENV_MONARCH
  555.     {
  556.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  557.         *PageProtectMem: 4109
  558.         *InsertBlock: =PaperConstraints
  559.         *Constraints: Duplex.VERTICAL
  560.         *Constraints: Duplex.HORIZONTAL
  561.         *switch: Orientation
  562.         {
  563.             *case: PORTRAIT
  564.             {
  565.                 *PrintableArea: PAIR(3996, 8400)
  566.                 *PrintableOrigin: PAIR(300, 300)
  567.                 *CursorOrigin: PAIR(300, 200)
  568.                 *Command: CmdSelect
  569.                 {
  570.                     *Order: DOC_SETUP.12
  571.                     *Cmd: "<1B>&l80a8c1E<1B>*p0x0Y<1B>*c0t2434x5160Y"
  572.                 }
  573.             }
  574.             *case: LANDSCAPE_CC90
  575.             {
  576.                 *PrintableArea: PAIR(4056, 8400)
  577.                 *PrintableOrigin: PAIR(300, 300)
  578.                 *CursorOrigin: PAIR(200, 8700)
  579.                 *Command: CmdSelect
  580.                 {
  581.                     *Order: DOC_SETUP.12
  582.                     *Cmd: "<1B>&l80a8c1E<1B>*p0x0Y<1B>*c0t5040x2554Y"
  583.                 }
  584.             }
  585.         }
  586.     }
  587.     *Option: A3
  588.     {
  589.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  590.         *PageProtectMem: 9667
  591.         *Constraints: InputBin.ENVFEED
  592.         *Constraints: InputBin.UPPER
  593.         *switch: Orientation
  594.         {
  595.             *case: PORTRAIT
  596.             {
  597.                 *PrintableArea: PAIR(13428, 19308)
  598.                 *PrintableOrigin: PAIR(300, 300)
  599.                 *CursorOrigin: PAIR(300, 180)
  600.                 *Command: CmdSelect
  601.                 {
  602.                     *Order: DOC_SETUP.12
  603.                     *Cmd: "<1B>&l27a8c1E<1B>*p0x0Y<1B>*c0t8057x11693Y"
  604.                 }
  605.             }
  606.             *case: LANDSCAPE_CC90
  607.             {
  608.                 *PrintableArea: PAIR(13588, 19368)
  609.                 *PrintableOrigin: PAIR(200, 240)
  610.                 *CursorOrigin: PAIR(200, 19608)
  611.                 *Command: CmdSelect
  612.                 {
  613.                     *Order: DOC_SETUP.12
  614.                     *Cmd: "<1B>&l27a8c1E<1B>*p0x0Y<1B>*c0t11621x8177Y"
  615.                 }
  616.             }
  617.         }
  618.     }
  619.     *Option: B4
  620.     {
  621.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  622.         *PageProtectMem: 6391
  623.         *Constraints: InputBin.ENVFEED
  624.         *switch: Orientation
  625.         {
  626.             *case: PORTRAIT
  627.             {
  628.                 *PrintableArea: PAIR(11544, 16656)
  629.                 *PrintableOrigin: PAIR(300, 300)
  630.                 *CursorOrigin: PAIR(300, 180)
  631.                 *Command: CmdSelect
  632.                 {
  633.                     *Order: DOC_SETUP.12
  634.                     *Cmd: "<1B>&l46a8c1E<1B>*p0x0Y<1B>*c0t6926x10102Y"
  635.                 }
  636.             }
  637.             *case: LANDSCAPE_CC90
  638.             {
  639.                 *PrintableArea: PAIR(11704, 16716)
  640.                 *PrintableOrigin: PAIR(200, 240)
  641.                 *CursorOrigin: PAIR(200, 16956)
  642.                 *Command: CmdSelect
  643.                 {
  644.                     *Order: DOC_SETUP.12
  645.                     *Cmd: "<1B>&l46a8c1E<1B>*p0x0Y<1B>*c0t10030x7046Y"
  646.                 }
  647.             }
  648.         }
  649.     }
  650.     *Option: B5
  651.     {
  652.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  653.         *PageProtectMem: 3198
  654.         *InsertBlock: =PaperConstraints
  655.         *Constraints: InputBin.ENVFEED
  656.         *switch: Orientation
  657.         {
  658.             *case: PORTRAIT
  659.             {
  660.                 *PrintableArea: PAIR(8004, 11604)
  661.                 *PrintableOrigin: PAIR(300, 280)
  662.                 *CursorOrigin: PAIR(300, 260)
  663.                 *Command: CmdSelect
  664.                 {
  665.                     *Order: DOC_SETUP.12
  666.                     *Cmd: "<1B>&l45a8c1E<1B>*p0x0Y<1B>*c0t4802x7070Y"
  667.                 }
  668.             }
  669.             *case: LANDSCAPE_CC90
  670.             {
  671.                 *PrintableArea: PAIR(8144, 11664)
  672.                 *PrintableOrigin: PAIR(220, 240)
  673.                 *CursorOrigin: PAIR(200, 11904)
  674.                 *Command: CmdSelect
  675.                 {
  676.                     *Order: DOC_SETUP.12
  677.                     *Cmd: "<1B>&l45a8c1E<1B>*p0x0Y<1B>*c0t6998x4922Y"
  678.                 }
  679.             }
  680.         }
  681.     }
  682.     *Option: ENV_C5
  683.     {
  684.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  685.         *PageProtectMem: 4109
  686.         *InsertBlock: =PaperConstraints
  687.         *Constraints: Duplex.VERTICAL
  688.         *Constraints: Duplex.HORIZONTAL
  689.         *switch: Orientation
  690.         {
  691.             *case: PORTRAIT
  692.             {
  693.                 *PrintableArea: PAIR(7036, 10224)
  694.                 *PrintableOrigin: PAIR(300, 300)
  695.                 *CursorOrigin: PAIR(300, 180)
  696.                 *Command: CmdSelect
  697.                 {
  698.                     *Order: DOC_SETUP.12
  699.                     *Cmd: "<1B>&l91a8c1E<1B>*p0x0Y<1B>*c0t4234x6278Y"
  700.                 }
  701.             }
  702.             *case: LANDSCAPE_CC90
  703.             {
  704.                 *PrintableArea: PAIR(7056, 10224)
  705.                 *PrintableOrigin: PAIR(300, 300)
  706.                 *CursorOrigin: PAIR(200, 10524)
  707.                 *Command: CmdSelect
  708.                 {
  709.                     *Order: DOC_SETUP.12
  710.                     *Cmd: "<1B>&l91a8c1E<1B>*p0x0Y<1B>*c0t6134x4354Y"
  711.                 }
  712.             }
  713.         }
  714.     }
  715. *Ifdef: WINNT_50
  716.     *Option: DBL_JAPANESE_POSTCARD_ROTATED
  717.     {
  718.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  719.         *PageProtectMem: 4109
  720.         *Constraints: InputBin.ENVFEED
  721.         *Constraints: Duplex.VERTICAL
  722.         *Constraints: Duplex.HORIZONTAL
  723.         *InsertBlock: =PaperConstraints
  724.         *switch: Orientation
  725.         {
  726.             *case: PORTRAIT
  727.             {
  728.                 *PrintableArea: PAIR(6376,8856)
  729.                 *PrintableOrigin: PAIR(300, 300)
  730.                 *CursorOrigin: PAIR(300, 180)
  731.                 *Command: CmdSelect
  732.                 {
  733.                     *Order: DOC_SETUP.12
  734.                     *Cmd: "<1B>&l72a8c1E<1B>*p0x0Y<1B>*c0t3838x5458Y"
  735.                 }
  736.             }
  737.             *case: LANDSCAPE_CC90
  738.             {
  739.                 *PrintableArea: PAIR(6396, 8856)
  740.                 *PrintableOrigin: PAIR(300, 300)
  741.                 *CursorOrigin: PAIR(200, 9156)
  742.                 *Command: CmdSelect
  743.                 {
  744.                     *Order: DOC_SETUP.12
  745.                     *Cmd: "<1B>&l72a8c1E<1B>*p0x0Y<1B>*c0t5314x3958Y"
  746.                 }
  747.             }
  748.         }
  749.     }
  750. *Endif: WINNT_50
  751.  *Option: CUSTOMSIZE
  752.     {
  753.         *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  754.         *MinSize: PAIR(4200,9000)
  755.         *MaxSize: PAIR(14040, 21240)
  756.         *MaxPrintableWidth: 14040
  757.         *MinLeftMargin: 100
  758.         *CenterPrintable?: FALSE
  759.         *PageProtectMem: 1692
  760.         *InsertBlock: =PaperConstraints
  761.         *switch: Orientation
  762.         {
  763.             *case: PORTRAIT
  764.             {
  765.                 *CustCursorOriginX:  %d{((PhysPaperWidth - 14040) / 2) +300}
  766.                 *CustCursorOriginY:   %d{180 }
  767.                 *CustPrintableOriginX:  %d{300}
  768.                 *CustPrintableOriginY:  %d{300}
  769.                 *CustPrintableSizeX:   %d{ PhysPaperWidth - 600 }
  770.                 *CustPrintableSizeY:  %d{ PhysPaperLength - 600 }
  771.         *Command: CmdSelect
  772.                 {
  773.                  *Order: DOC_SETUP.13
  774.                     *Cmd: "<1B>&l101a8c1e99F<1B>*p0x0Y<1B>*c0t8064x12528Y"
  775.                 }
  776.             }
  777.             *case: LANDSCAPE_CC90
  778.             {
  779.                 *CustCursorOriginX:  %d{((PhysPaperWidth - 14040) / 2) +200 }
  780.                 *CustCursorOriginY:   %d{21000}
  781.                 *CustPrintableOriginX:  %d{200}
  782.                 *CustPrintableOriginY:  %d{240}
  783.                 *CustPrintableSizeX:   %d{ PhysPaperWidth - 400 }
  784.                 *CustPrintableSizeY:  %d{ PhysPaperLength - 480 }
  785.  
  786.                 *Command: CmdSelect
  787.                 {
  788.                     *Order: DOC_SETUP.13
  789.                     *Cmd: "<1B>&l101a8c1e63F<1B>*p0x0Y<1B>*c0t12456x8184Y"
  790.         }
  791.            }
  792.         }
  793.     }
  794.     *Option: MyMax117x177
  795.     {
  796.         *% Maximum 11.7 x17.7
  797.         *rcNameID: 262
  798.         *PageDimensions: PAIR(14040, 21240)
  799.         *PageProtectMem: 10000
  800.         *InsertBlock: =PaperConstraints
  801.         *Constraints: InputBin.ENVFEED
  802.         *Constraints: Duplex.VERTICAL
  803.         *Constraints: Duplex.HORIZONTAL
  804.         *switch: Orientation
  805.         {
  806.             *case: PORTRAIT
  807.             {
  808.                 *PrintableArea: PAIR(13420, 20640)
  809.                 *PrintableOrigin: PAIR(300, 300)
  810.                 *CursorOrigin: PAIR(300, 180)
  811.                 *Command: CmdSelect
  812.                 {
  813.                     *Order: DOC_SETUP.12
  814.                     *Cmd: "<1B>&l101a1e99F<1B>*p0x0Y<1B>*c0t8064x12528Y"
  815.                 }
  816.             }
  817.             *case: LANDSCAPE_CC90
  818.             {
  819.                 *PrintableArea: PAIR(13600, 20760)
  820.                 *PrintableOrigin: PAIR(200, 240)
  821.                 *CursorOrigin: PAIR(200, 21000)
  822.                 *Command: CmdSelect
  823.                 {
  824.                     *Order: DOC_SETUP.12
  825.                     *Cmd: "<1B>&l101a1e63F<1B>*p0x0Y<1B>*c0t12456x8184Y"
  826.                 }
  827.             }
  828.         }
  829.     }
  830. }
  831.  
  832.  
  833. *% MPH: attempt to add media type selection
  834. *Feature: MediaType
  835. {
  836.     *rcNameID: =MEDIA_TYPE_DISPLAY
  837.     *DefaultOption: AutoSelect
  838.  
  839.     *Option: AutoSelect
  840.     {
  841.         *rcNameID: 271
  842.         *Command: CmdSelect
  843.         {
  844.             *Order: DOC_SETUP.12
  845.             *Cmd: ""
  846.         }
  847.     }
  848.     *Option: Plain
  849.     {
  850.         *rcNameID: 435   *% Plain
  851.         *Command: CmdSelect
  852.         {
  853.             *Order: DOC_SETUP.12
  854.             *Cmd: "<1B>&n6WdPlain"
  855.         }
  856.     }
  857.     *Option: Preprinted
  858.     {
  859.         *rcNameID: 436   *% Preprinted
  860.         *Command: CmdSelect
  861.         {
  862.             *Order: DOC_SETUP.12
  863.             *Cmd: "<1B>&n11WdPreprinted"
  864.         }
  865.     }
  866.     *Option: Letterhead
  867.     {
  868.         *rcNameID: 437   *% Letterhead
  869.         *Command: CmdSelect
  870.         {
  871.             *Order: DOC_SETUP.12
  872.             *Cmd: "<1B>&n11WdLetterhead"
  873.         }
  874.     }
  875.     *Option: Transparency
  876.     {
  877.         *rcNameID: =TRANSPARENCY_DISPLAY    *% Transparency
  878.         *Constraints: LIST(Duplex.VERTICAL, Duplex.HORIZONTAL, OutputBin.Option13)
  879.         *Command: CmdSelect
  880.         {
  881.             *Order: DOC_SETUP.12
  882.             *Cmd: "<1B>&n13WdTransparency"
  883.         }
  884.     }
  885.     *Option: Prepunched
  886.     {
  887.         *rcNameID: 438   *% Prepunched
  888.         *Command: CmdSelect
  889.         {
  890.             *Order: DOC_SETUP.12
  891.             *Cmd: "<1B>&n11WdPrepunched"
  892.         }
  893.     }
  894.     *Option: Labels
  895.     {
  896.         *rcNameID: 439   *% Labels
  897.         *Constraints: LIST(Duplex.VERTICAL, Duplex.HORIZONTAL, OutputBin.Option13)
  898.         *Command: CmdSelect
  899.         {
  900.             *Order: DOC_SETUP.12
  901.             *Cmd: "<1B>&n7WdLabels"
  902.         }
  903.     }
  904.     *Option: Bond
  905.     {
  906.         *rcNameID: 269   *% Bond
  907.         *Command: CmdSelect
  908.         {
  909.             *Order: DOC_SETUP.12
  910.             *Cmd: "<1B>&n5WdBond"
  911.         }
  912.     }
  913.     *Option: Recycled
  914.     {
  915.         *rcNameID: 440   *% Recycled
  916.         *Command: CmdSelect
  917.         {
  918.             *Order: DOC_SETUP.12
  919.             *Cmd: "<1B>&n9WdRecycled"
  920.         }
  921.     }
  922.     *Option: Color
  923.     {
  924.         *rcNameID: 441   *% Color
  925.         *Command: CmdSelect
  926.         {
  927.             *Order: DOC_SETUP.12
  928.             *Cmd: "<1B>&n6WdColor"
  929.         }
  930.     }
  931.     *Option: CardStock
  932.     {
  933.         *rcNameID: 442   *% Cardstock
  934.         *Command: CmdSelect
  935.         {
  936.             *Order: DOC_SETUP.12
  937.             *Cmd: "<1B>&n11WdCard Stock"
  938.         }
  939.     }
  940. }
  941. *%  Constrain against stapling a collated job without a hard disk!
  942. *InvalidCombination: LIST(PrinterHardDisk.FALSE, Collate.ON, OutputBin.Option13)
  943.  
  944. *% printer supports collation only if PrinterHardDisk installed
  945. *% (see CopyCmd and PrinterHardDisk)
  946. *Feature: Collate
  947. {
  948.     *rcNameID: 392 *% this shouldn't appear...
  949.  
  950.     *DefaultOption: OFF
  951.     *Option: ON
  952.     {
  953.         *rcNameID: =ON_DISPLAY
  954.         *switch: PrinterHardDisk
  955.         {
  956.             *case: FALSE
  957.             {
  958.                 *Command: CmdSelect
  959.                 {
  960.                     *Order: JOB_SETUP.5
  961.                     *% Collate requested but no disk => printer collate disabled
  962.                     *% Print Processor will take care of collated copies
  963.                     *Cmd: "@PJL SET QTY=1<0A>"
  964.                 }
  965.             }
  966.             *case: TRUE
  967.             {
  968.                 *Command: CmdSelect
  969.                 {
  970.                     *Order: JOB_SETUP.5
  971.                     *% Collate requested with disk => printer collage enabled
  972.                     *% Printer will take care of collated copies
  973.                     *Cmd: "@PJL SET QTY=" %d{NumOfCopies}"<0A>"
  974.                 }
  975.             }
  976.         }
  977.     }
  978.     *Option: OFF
  979.     {
  980.         *rcNameID: =OFF_DISPLAY
  981.         *Command: CmdSelect
  982.         {
  983.             *Order: JOB_SETUP.5
  984.             *Cmd: "@PJL SET QTY=1<0A>"
  985.         }
  986.     }
  987. }
  988.  
  989. *% IMPORTANT NOTE:
  990. *% The OEM customization code assumes that this feature's keyname is
  991. *%   "PrinterHardDisk"
  992. *% The OEM customization code assumes that the options are named "TRUE" and
  993. *%   "FALSE"
  994. *%
  995. *% feature to explicitly constrain Collate
  996. *Feature: PrinterHardDisk
  997. {
  998.     *rcNameID: 430 *% Printer Hard-Disk
  999.     *HelpIndex: 12002
  1000.     *FeatureType: PRINTER_PROPERTY
  1001.     *DefaultOption: FALSE
  1002.     *Option: FALSE
  1003.     {
  1004.         *rcNameID: 444
  1005.         *DisabledFeatures: LIST(Collate)
  1006.     }
  1007.     *Option: TRUE
  1008.     {
  1009.         *rcNameID: 443
  1010.     }
  1011. }
  1012.  
  1013.  
  1014. *%
  1015. *Feature: Economode
  1016. {
  1017.     *rcNameID: 377  *% EconoMode
  1018.     *HelpIndex: 12009
  1019.     *DefaultOption: Option1
  1020.     *Option: Option1
  1021.     {
  1022.         *rcNameID: 265
  1023.     }
  1024.     *Option: Option2
  1025.     {
  1026.         *rcNameID: 266
  1027.         *Command: CmdSelect
  1028.         {
  1029.             *Order: JOB_SETUP.3
  1030.             *Cmd: "@PJL SET ECONOMODE=OFF<0A>"
  1031.         }
  1032.     }
  1033.     *Option: Option3
  1034.     {
  1035.         *rcNameID: 267
  1036.         *Command: CmdSelect
  1037.         {
  1038.             *Order: JOB_SETUP.3
  1039.             *Cmd: "@PJL SET ECONOMODE=ON<0A>"
  1040.         }
  1041.     }
  1042. }
  1043.  
  1044.  
  1045. *%
  1046. *Feature: RET
  1047. {
  1048.     *rcNameID: 378
  1049.     *HelpIndex: 12010
  1050.     *DefaultOption: Option1
  1051.     *Option: Option1
  1052.     {
  1053.         *rcNameID: 293
  1054.     }
  1055.     *Option: Option2
  1056.     {
  1057.         *rcNameID: 297
  1058.         *Command: CmdSelect
  1059.         {
  1060.             *Order: JOB_SETUP.4
  1061.             *Cmd: "@PJL SET RET=LIGHT<0A>"
  1062.         }
  1063.     }
  1064.     *Option: Option3
  1065.     {
  1066.         *rcNameID: 298
  1067.         *Command: CmdSelect
  1068.         {
  1069.             *Order: JOB_SETUP.4
  1070.             *Cmd: "@PJL SET RET=MEDIUM<0A>"
  1071.         }
  1072.     }
  1073.     *Option: Option4
  1074.     {
  1075.         *rcNameID: 299
  1076.         *Command: CmdSelect
  1077.         {
  1078.             *Order: JOB_SETUP.4
  1079.             *Cmd: "@PJL SET RET=DARK<0A>"
  1080.         }
  1081.     }
  1082.     *Option: Option5
  1083.     {
  1084.         *rcNameID: 300
  1085.         *Command: CmdSelect
  1086.         {
  1087.             *Order: JOB_SETUP.4
  1088.             *Cmd: "@PJL SET RET=OFF<0A>"
  1089.         }
  1090.     }
  1091. }
  1092.  
  1093. *Feature: Halftone
  1094. {
  1095.     *rcNameID: =HALFTONING_DISPLAY
  1096.     *DefaultOption: HT_PATSIZE_AUTO
  1097.     *Option: HT_PATSIZE_AUTO
  1098.     {
  1099.         *rcNameID: =HT_AUTO_SELECT_DISPLAY
  1100.     }
  1101.     *Option: HT_PATSIZE_SUPERCELL_M
  1102.     {
  1103.         *rcNameID: =HT_SUPERCELL_DISPLAY
  1104.     }
  1105.     *Option: HT_PATSIZE_6x6_M
  1106.     {
  1107.         *rcNameID: =HT_DITHER6X6_DISPLAY
  1108.     }
  1109.     *Option: HT_PATSIZE_8x8_M
  1110.     {
  1111.         *rcNameID: =HT_DITHER8X8_DISPLAY
  1112.     }
  1113. }
  1114. *Feature: Memory
  1115. {
  1116.     *rcNameID: =PRINTER_MEMORY_DISPLAY
  1117.     *HelpIndex: 12003
  1118.     *DefaultOption: 4096KB
  1119. *% Default (on board) is 4MB.  4 memory slots with 2,4,8,16 & 32 MB dimms avail.
  1120. *% Max memory is 128 (+4 on board) = 132
  1121.     *MemConfigKB: PAIR(4096, 3150)
  1122.     *MemConfigKB: PAIR(6144, 4950)
  1123.     *MemConfigKB: PAIR(8192, 6750)
  1124.     *MemConfigKB: PAIR(10240, 8550)
  1125.     *MemConfigKB: PAIR(12288, 10350)
  1126.     *MemConfigKB: PAIR(14336, 12150)
  1127.     *MemConfigKB: PAIR(16384, 13950)
  1128.     *MemConfigKB: PAIR(18432, 15750)
  1129.     *MemConfigKB: PAIR(20480, 17550)
  1130.     *MemConfigKB: PAIR(22528, 19350)
  1131.     *MemConfigKB: PAIR(24576, 21150)
  1132.     *MemConfigKB: PAIR(26624, 22950)
  1133.     *MemConfigKB: PAIR(28672, 24750)
  1134.     *MemConfigKB: PAIR(30720, 26550)
  1135.     *MemConfigKB: PAIR(32768, 28350)
  1136.     *MemConfigKB: PAIR(34816, 30150)
  1137.     *MemConfigKB: PAIR(36864, 31950)
  1138.     *MemConfigKB: PAIR(38912, 33750)
  1139.     *MemConfigKB: PAIR(40960, 35550)
  1140.     *MemConfigKB: PAIR(43008, 37350)
  1141.     *MemConfigKB: PAIR(45056, 39150)
  1142.     *MemConfigKB: PAIR(47104, 40950)
  1143.     *MemConfigKB: PAIR(49152, 42750)
  1144.     *MemConfigKB: PAIR(51200, 51083)
  1145.     *MemConfigKB: PAIR(53248, 46350)
  1146.     *MemConfigKB: PAIR(55296, 48150)
  1147.     *MemConfigKB: PAIR(57344, 49950)
  1148.     *MemConfigKB: PAIR(59392, 51750)
  1149.     *MemConfigKB: PAIR(61440, 53550)
  1150.     *MemConfigKB: PAIR(63488, 55350)
  1151.     *MemConfigKB: PAIR(65536, 57150)
  1152.     *MemConfigKB: PAIR(67584, 58950)
  1153.     *MemConfigKB: PAIR(69632, 60750)
  1154.     *MemConfigKB: PAIR(71680, 62550)
  1155.     *MemConfigKB: PAIR(73728, 64350)
  1156.     *MemConfigKB: PAIR(75766, 66146)
  1157.     *MemConfigKB: PAIR(77824, 67944)
  1158.     *MemConfigKB: PAIR(81920, 71520)
  1159.     *MemConfigKB: PAIR(86016, 75096)
  1160.     *MemConfigKB: PAIR(88064, 76884)
  1161.     *MemConfigKB: PAIR(90112, 78672)
  1162.     *MemConfigKB: PAIR(94208, 82248)
  1163.     *MemConfigKB: PAIR(100352, 87612)
  1164.     *MemConfigKB: PAIR(102400, 89400)
  1165.     *MemConfigKB: PAIR(104448, 90869)
  1166.     *MemConfigKB: PAIR(106496, 92652)
  1167.     *MemConfigKB: PAIR(110592, 96215)
  1168.     *MemConfigKB: PAIR(118784, 103342)
  1169.     *MemConfigKB: PAIR(135168, 117596)
  1170. }
  1171.  
  1172. *% IMPORTANT NOTE:
  1173. *% The OEM customization code assumes that this feature's keyname is
  1174. *%   "DuplexUnit"
  1175. *% The OEM customization code assumes that the options are named "TRUE" and
  1176. *%   "FALSE"
  1177. *%
  1178. *% new explicit constraint (non synthesized) for Duplex
  1179. *Feature: DuplexUnit
  1180. {
  1181.     *rcNameID: 429 *% Duplex Unit
  1182.     *HelpIndex: 12004
  1183.     *FeatureType: PRINTER_PROPERTY
  1184.     *DefaultOption: TRUE
  1185.     *Option: FALSE
  1186.     {
  1187.         *rcNameID: 444
  1188.         *DisabledFeatures: LIST(Duplex.VERTICAL, Duplex.HORIZONTAL)
  1189.     }
  1190.     *Option: TRUE
  1191.     {
  1192.         *rcNameID: 443
  1193.     }
  1194. }
  1195.  
  1196. *Feature: Duplex
  1197. {
  1198.     *rcNameID: =TWO_SIDED_PRINTING_DISPLAY
  1199.     *DefaultOption: NONE
  1200.     *Option: NONE
  1201.     {
  1202.         *rcNameID: =NONE_DISPLAY
  1203.         *Command: CmdSelect
  1204.         {
  1205.             *Order: DOC_SETUP.9
  1206.             *Cmd: "<1B>&l0S"
  1207.         }
  1208.     }
  1209.     *Option: VERTICAL
  1210.     {
  1211.         *rcNameID: =FLIP_ON_LONG_EDGE_DISPLAY
  1212.         *Command: CmdSelect
  1213.         {
  1214.             *Order: DOC_SETUP.10
  1215.             *Cmd: "<1B>&l1S"
  1216.         }
  1217.         *Constraints: LIST(MediaType.Labels, MediaType.Transparency)
  1218.     }
  1219.     *Option: HORIZONTAL
  1220.     {
  1221.         *rcNameID: =FLIP_ON_SHORT_EDGE_DISPLAY
  1222.         *Command: CmdSelect
  1223.         {
  1224.             *Order: DOC_SETUP.10
  1225.             *Cmd: "<1B>&l2S"
  1226.         }
  1227.         *Constraints: LIST(MediaType.Labels, MediaType.Transparency)
  1228.     }
  1229. }
  1230.  
  1231. *%
  1232. *% Duplex / Unit, Sizes, Types constraints
  1233. *%
  1234. *InvalidCombination: LIST(DuplexUnit.FALSE,  Duplex.VERTICAL)
  1235. *InvalidCombination: LIST(DuplexUnit.FALSE,  Duplex.HORIZONTAL)
  1236. *InvalidCombination: LIST(Duplex.VERTICAL,   PaperSize.ENV_10)
  1237. *InvalidCombination: LIST(Duplex.VERTICAL,   PaperSize.ENV_DL)
  1238. *InvalidCombination: LIST(Duplex.VERTICAL,   PaperSize.ENV_MONARCH)
  1239. *InvalidCombination: LIST(Duplex.VERTICAL,   PaperSize.ENV_C5)
  1240. *Ifdef: WINNT_50
  1241. *InvalidCombination: LIST(Duplex.VERTICAL,   PaperSize.DBL_JAPANESE_POSTCARD_ROTATED)
  1242. *Endif: WINNT_50
  1243. *InvalidCombination: LIST(Duplex.VERTICAL,   PaperSize.MyMax117x177)
  1244. *InvalidCombination: LIST(Duplex.HORIZONTAL, PaperSize.ENV_10)
  1245. *InvalidCombination: LIST(Duplex.HORIZONTAL, PaperSize.ENV_DL)
  1246. *InvalidCombination: LIST(Duplex.HORIZONTAL, PaperSize.ENV_MONARCH)
  1247. *InvalidCombination: LIST(Duplex.HORIZONTAL, PaperSize.ENV_C5)
  1248. *Ifdef: WINNT_50
  1249. *InvalidCombination: LIST(Duplex.HORIZONTAL, PaperSize.DBL_JAPANESE_POSTCARD_ROTATED)
  1250. *Endif: WINNT_50
  1251. *InvalidCombination: LIST(Duplex.HORIZONTAL, PaperSize.MyMax117x177)
  1252.  
  1253.  
  1254. *% IMPORTANT NOTE:
  1255. *% The OEM customization code assumes that this feature's keyname is
  1256. *%   "Option21"
  1257. *% The OEM customization code assumes that the options are named "Mailbox",
  1258. *%   "Stacker" and "Separator"
  1259. *Feature: Option21
  1260. {
  1261.     *rcNameID: 423   *% Mailbox Mode
  1262.     *HelpIndex: 12015
  1263.     *FeatureType: PRINTER_PROPERTY
  1264.     *Option: MailboxModeMailbox
  1265.     {
  1266.         *rcNameID: 422  *% Mailbox
  1267.     }
  1268.     *Option: MailboxModeStacker
  1269.     {
  1270.         *rcNameID: 431  *% Stacker
  1271.         *DisabledFeatures: LIST(Stapling)
  1272.     }
  1273.     *Option: MailboxModeSeparator
  1274.     {
  1275.         *rcNameID: 432  *% Job Separator
  1276.         *DisabledFeatures: LIST(Stapling)
  1277.     }
  1278. }
  1279.  
  1280. *% Feature that allows user to select which, if any, accessory output
  1281. *% bin is installed.
  1282. *% Called "Option20" because that's what PPD calls it.
  1283. *Feature: Option20
  1284. {
  1285.     *rcNameID: 582  *% Accessory Output Bin
  1286.     *HelpIndex: 12012
  1287.     *FeatureType: PRINTER_PROPERTY
  1288.     *DefaultOption: Standard
  1289.     *Option: Standard
  1290.     {
  1291.         *rcNameID: 426  *% Left Face Up
  1292.         *DisabledFeatures: LIST(Stapling)
  1293.     }
  1294.     *Option: MBM5S
  1295.     {
  1296.         *rcNameID: 425
  1297.     }
  1298.     *Option: MBM8
  1299.     {
  1300.         *rcNameID: 424
  1301.         *DisabledFeatures: LIST(Stapling)
  1302.     }
  1303.     *Option: None
  1304.     {
  1305.         *rcNameID: 444
  1306.         *DisabledFeatures: LIST(Stapling)
  1307.     }
  1308. }
  1309.  
  1310.  
  1311. *% define stapling capability for directory services
  1312. *% + The OEMUI DLL will hide this from the Doc Defaults Advanced tree-view.
  1313. *% + The user selects stapling from Output Bin (Stapler).
  1314. *% + Disabled if 5binHCO not installed OR Option21 not in Mailbox mode.
  1315. *Feature: Stapling
  1316. {
  1317.     *rcNameID: 433 *% Stapler
  1318.     *Option: Bogus
  1319.     {
  1320.         *Name: "Select from Output Bin"
  1321.     }
  1322. }
  1323.  
  1324.  
  1325. *% IMPORTANT NOTE:
  1326. *% The OEM customization code that goes with this minidriver (hp5si5ui.dll)
  1327. *% assumes that all these output bins are defined and are defined in the
  1328. *% current order.  (Don't change it!)  These are hard-coded defines in
  1329. *% the OEM code.
  1330. *Feature: OutputBin
  1331. {
  1332.     *rcNameID: =OUTPUTBIN_DISPLAY
  1333.     *HelpIndex: 12011
  1334.     *DefaultOption: Option1
  1335.     *Option: Option1
  1336.     {
  1337.         *% Auto Select
  1338.         *rcNameID: 271
  1339.         *Command: CmdSelect
  1340.         {
  1341.         }
  1342.     }
  1343.     *Option: Option2
  1344.     {
  1345.         *% Top Face-Down
  1346.         *rcNameID: 282
  1347.         *Command: CmdSelect
  1348.         {
  1349.             *Order: JOB_SETUP.5
  1350.             *Cmd: "@PJL SET OUTBIN=UPPER<0A>"
  1351.         }
  1352.     }
  1353.     *Option: Option3
  1354.     {
  1355.         *% Left Face-Up
  1356.         *rcNameID: 283
  1357.         *OutputOrderReversed?:  TRUE
  1358.         *Command: CmdSelect
  1359.         {
  1360.             *Order: JOB_SETUP.5
  1361.             *Cmd: "@PJL SET OUTBIN=LOWER<0A>"
  1362.         }
  1363.     }
  1364.     *Option: Option4
  1365.     {
  1366.         *% HCO Face-Up
  1367.         *rcNameID: 284
  1368.         *OutputOrderReversed?:  TRUE
  1369.         *Command: CmdSelect
  1370.         {
  1371.             *Order: JOB_SETUP.5
  1372.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN1<0A>"
  1373.         }
  1374.     }
  1375.     *Option: Option5
  1376.     {
  1377.         *% Mailbox 1
  1378.         *rcNameID: 412
  1379.         *Command: CmdSelect
  1380.         {
  1381.             *Order: JOB_SETUP.5
  1382.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN2<0A>"
  1383.         }
  1384.     }
  1385.     *Option: Option6
  1386.     {
  1387.         *% Mailbox 2
  1388.         *rcNameID: 413
  1389.         *Command: CmdSelect
  1390.         {
  1391.             *Order: JOB_SETUP.5
  1392.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN3<0A>"
  1393.         }
  1394.     }
  1395.     *Option: Option7
  1396.     {
  1397.         *% Mailbox 3
  1398.         *rcNameID: 414
  1399.         *Command: CmdSelect
  1400.         {
  1401.             *Order: JOB_SETUP.5
  1402.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN4<0A>"
  1403.         }
  1404.     }
  1405.     *Option: Option8
  1406.     {
  1407.         *% Mailbox 4
  1408.         *rcNameID: 415
  1409.         *Command: CmdSelect
  1410.         {
  1411.             *Order: JOB_SETUP.5
  1412.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN5<0A>"
  1413.         }
  1414.     }
  1415.     *Option: Option9
  1416.     {
  1417.         *% Mailbox 5
  1418.         *rcNameID: 416
  1419.         *Command: CmdSelect
  1420.         {
  1421.             *Order: JOB_SETUP.5
  1422.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN6<0A>"
  1423.         }
  1424.     }
  1425.     *Option: Option10
  1426.     {
  1427.         *% Mailbox 6
  1428.         *rcNameID: 417
  1429.         *Command: CmdSelect
  1430.         {
  1431.             *Order: JOB_SETUP.5
  1432.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN7<0A>"
  1433.         }
  1434.     }
  1435.     *Option: Option11
  1436.     {
  1437.         *% Mailbox 7
  1438.         *rcNameID: 418
  1439.         *Command: CmdSelect
  1440.         {
  1441.             *Order: JOB_SETUP.5
  1442.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN8<0A>"
  1443.         }
  1444.     }
  1445.     *Option: Option12
  1446.     {
  1447.         *% Mailbox 8
  1448.         *rcNameID: 419
  1449.         *Command: CmdSelect
  1450.         {
  1451.             *Order: JOB_SETUP.5
  1452.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN9<0A>"
  1453.         }
  1454.     }
  1455.  
  1456.     *Option: Option13
  1457.     {
  1458.         *% Stapler
  1459.         *rcNameID: 433   *% Stapler
  1460.         *Command: CmdSelect
  1461.         {
  1462.             *Order: JOB_SETUP.5
  1463.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN7<0A>@PJL SET FINISH=STAPLE<0A>"
  1464.         }
  1465.         *Constraints: LIST(MediaType.Labels, MediaType.Transparency)
  1466.     }
  1467.  
  1468.     *Option: Option14
  1469.     {
  1470.         *% Stacker
  1471.         *rcNameID: 431   *% Stacker
  1472.         *Command: CmdSelect
  1473.         {
  1474.             *Order: JOB_SETUP.5
  1475.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN2<0A>"
  1476.         }
  1477.     }
  1478.     *Option: Option15
  1479.     {
  1480.         *% Job Separator
  1481.         *rcNameID: 432   *% Job Separator
  1482.         *Command: CmdSelect
  1483.         {
  1484.             *Order: JOB_SETUP.5
  1485.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN2<0A>"
  1486.         }
  1487.     }
  1488.     *Option: Option16
  1489.     {
  1490.         *% Collator
  1491.         *rcNameID: 392   *% Collator
  1492.         *Command: CmdSelect
  1493.         {
  1494.             *Order: JOB_SETUP.5
  1495.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN2<0A>"
  1496.         }
  1497.     }
  1498. }
  1499.  
  1500. *%
  1501. *% installed HCO / OutputBin constraints
  1502. *%
  1503. *InvalidCombination: LIST(Option20.Standard, OutputBin.Option4)
  1504. *InvalidCombination: LIST(Option20.Standard, OutputBin.Option5)
  1505. *InvalidCombination: LIST(Option20.Standard, OutputBin.Option6)
  1506. *InvalidCombination: LIST(Option20.Standard, OutputBin.Option7)
  1507. *InvalidCombination: LIST(Option20.Standard, OutputBin.Option8)
  1508. *InvalidCombination: LIST(Option20.Standard, OutputBin.Option9)
  1509. *InvalidCombination: LIST(Option20.Standard, OutputBin.Option10)
  1510. *InvalidCombination: LIST(Option20.Standard, OutputBin.Option11)
  1511. *InvalidCombination: LIST(Option20.Standard, OutputBin.Option12)
  1512. *InvalidCombination: LIST(Option20.Standard, OutputBin.Option13)
  1513. *InvalidCombination: LIST(Option20.Standard, OutputBin.Option14)
  1514. *InvalidCombination: LIST(Option20.Standard, OutputBin.Option15)
  1515. *InvalidCombination: LIST(Option20.Standard, OutputBin.Option16)
  1516.  
  1517. *InvalidCombination: LIST(Option20.MBM5S, OutputBin.Option3)
  1518. *InvalidCombination: LIST(Option20.MBM5S, OutputBin.Option10)
  1519. *InvalidCombination: LIST(Option20.MBM5S,  OutputBin.Option11)
  1520. *InvalidCombination: LIST(Option20.MBM5S, OutputBin.Option12)
  1521.  
  1522. *InvalidCombination: LIST(Option20.MBM8, OutputBin.Option3)
  1523. *InvalidCombination: LIST(Option20.MBM8, OutputBin.Option13)
  1524.  
  1525. *%
  1526. *% allow OutputBin.Option14 because Mailbox is default mode (none is not
  1527. *% an option)
  1528. *IgnoreBlock  *% OEMMBMode / OutputBin constraints are applied by hpoemui.dll
  1529. {
  1530. *InvalidCombination: LIST(Option21.MailboxModeMailbox, OutputBin.Option14)
  1531. *InvalidCombination: LIST(Option21.MailboxModeMailbox, OutputBin.Option15)
  1532.  
  1533. *InvalidCombination: LIST(Option21.MailboxModeStacker, OutputBin.Option3)
  1534. *InvalidCombination: LIST(Option21.MailboxModeStacker, OutputBin.Option5)
  1535. *InvalidCombination: LIST(Option21.MailboxModeStacker, OutputBin.Option6)
  1536. *InvalidCombination: LIST(Option21.MailboxModeStacker, OutputBin.Option7)
  1537. *InvalidCombination: LIST(Option21.MailboxModeStacker, OutputBin.Option8)
  1538. *InvalidCombination: LIST(Option21.MailboxModeStacker, OutputBin.Option9)
  1539. *InvalidCombination: LIST(Option21.MailboxModeStacker, OutputBin.Option10)
  1540. *InvalidCombination: LIST(Option21.MailboxModeStacker, OutputBin.Option11)
  1541. *InvalidCombination: LIST(Option21.MailboxModeStacker, OutputBin.Option12)
  1542. *InvalidCombination: LIST(Option21.MailboxModeStacker, OutputBin.Option15)
  1543.  
  1544. *InvalidCombination: LIST(Option21.MailboxModeSeparator, OutputBin.Option3)
  1545. *InvalidCombination: LIST(Option21.MailboxModeSeparator, OutputBin.Option5)
  1546. *InvalidCombination: LIST(Option21.MailboxModeSeparator, OutputBin.Option6)
  1547. *InvalidCombination: LIST(Option21.MailboxModeSeparator, OutputBin.Option7)
  1548. *InvalidCombination: LIST(Option21.MailboxModeSeparator, OutputBin.Option8)
  1549. *InvalidCombination: LIST(Option21.MailboxModeSeparator, OutputBin.Option9)
  1550. *InvalidCombination: LIST(Option21.MailboxModeSeparator, OutputBin.Option10)
  1551. *InvalidCombination: LIST(Option21.MailboxModeSeparator, OutputBin.Option11)
  1552. *InvalidCombination: LIST(Option21.MailboxModeSeparator, OutputBin.Option12)
  1553. *InvalidCombination: LIST(Option21.MailboxModeSeparator, OutputBin.Option14)
  1554. }  *% ignore block
  1555.  
  1556. *%
  1557. *% Stapling (OutputBin.Option13) / Sizes, Types constraints
  1558. *%
  1559. *InvalidCombination: LIST(OutputBin.Option13, PaperSize.LEGAL)
  1560. *InvalidCombination: LIST(OutputBin.Option13, PaperSize.EXECUTIVE)
  1561. *InvalidCombination: LIST(OutputBin.Option13, PaperSize.11X17)
  1562. *InvalidCombination: LIST(OutputBin.Option13, PaperSize.ENV_10)
  1563. *InvalidCombination: LIST(OutputBin.Option13, PaperSize.ENV_DL)
  1564. *InvalidCombination: LIST(OutputBin.Option13, PaperSize.ENV_MONARCH)
  1565. *InvalidCombination: LIST(OutputBin.Option13, PaperSize.A3)
  1566. *InvalidCombination: LIST(OutputBin.Option13, PaperSize.B4)
  1567. *InvalidCombination: LIST(OutputBin.Option13, PaperSize.B5)
  1568. *InvalidCombination: LIST(OutputBin.Option13, PaperSize.ENV_C5)
  1569. *Ifdef: WINNT_50
  1570. *InvalidCombination: LIST(OutputBin.Option13, PaperSize.DBL_JAPANESE_POSTCARD_ROTATED)
  1571. *Endif: WINNT_50
  1572. *InvalidCombination: LIST(OutputBin.Option13, PaperSize.MyMax117x177)
  1573.  
  1574. *%
  1575. *% Envelopes constrained to top and left face up
  1576. *%
  1577. *InvalidCombination: LIST(PaperSize.ENV_10, OutputBin.Option5)
  1578. *InvalidCombination: LIST(PaperSize.ENV_10, OutputBin.Option6)
  1579. *InvalidCombination: LIST(PaperSize.ENV_10, OutputBin.Option7)
  1580. *InvalidCombination: LIST(PaperSize.ENV_10, OutputBin.Option8)
  1581. *InvalidCombination: LIST(PaperSize.ENV_10, OutputBin.Option9)
  1582. *InvalidCombination: LIST(PaperSize.ENV_10, OutputBin.Option10)
  1583. *InvalidCombination: LIST(PaperSize.ENV_10, OutputBin.Option11)
  1584. *InvalidCombination: LIST(PaperSize.ENV_10, OutputBin.Option12)
  1585. *InvalidCombination: LIST(PaperSize.ENV_10, OutputBin.Option14)
  1586. *InvalidCombination: LIST(PaperSize.ENV_10, OutputBin.Option15)
  1587. *InvalidCombination: LIST(PaperSize.ENV_10, OutputBin.Option16)
  1588.  
  1589. *InvalidCombination: LIST(PaperSize.ENV_DL, OutputBin.Option5)
  1590. *InvalidCombination: LIST(PaperSize.ENV_DL, OutputBin.Option6)
  1591. *InvalidCombination: LIST(PaperSize.ENV_DL, OutputBin.Option7)
  1592. *InvalidCombination: LIST(PaperSize.ENV_DL, OutputBin.Option8)
  1593. *InvalidCombination: LIST(PaperSize.ENV_DL, OutputBin.Option9)
  1594. *InvalidCombination: LIST(PaperSize.ENV_DL, OutputBin.Option10)
  1595. *InvalidCombination: LIST(PaperSize.ENV_DL, OutputBin.Option11)
  1596. *InvalidCombination: LIST(PaperSize.ENV_DL, OutputBin.Option12)
  1597. *InvalidCombination: LIST(PaperSize.ENV_DL, OutputBin.Option14)
  1598. *InvalidCombination: LIST(PaperSize.ENV_DL, OutputBin.Option15)
  1599. *InvalidCombination: LIST(PaperSize.ENV_DL, OutputBin.Option16)
  1600.  
  1601. *InvalidCombination: LIST(PaperSize.ENV_MONARCH, OutputBin.Option5)
  1602. *InvalidCombination: LIST(PaperSize.ENV_MONARCH, OutputBin.Option6)
  1603. *InvalidCombination: LIST(PaperSize.ENV_MONARCH, OutputBin.Option7)
  1604. *InvalidCombination: LIST(PaperSize.ENV_MONARCH, OutputBin.Option8)
  1605. *InvalidCombination: LIST(PaperSize.ENV_MONARCH, OutputBin.Option9)
  1606. *InvalidCombination: LIST(PaperSize.ENV_MONARCH, OutputBin.Option10)
  1607. *InvalidCombination: LIST(PaperSize.ENV_MONARCH, OutputBin.Option11)
  1608. *InvalidCombination: LIST(PaperSize.ENV_MONARCH, OutputBin.Option12)
  1609. *InvalidCombination: LIST(PaperSize.ENV_MONARCH, OutputBin.Option14)
  1610. *InvalidCombination: LIST(PaperSize.ENV_MONARCH, OutputBin.Option15)
  1611. *InvalidCombination: LIST(PaperSize.ENV_MONARCH, OutputBin.Option16)
  1612.  
  1613. *InvalidCombination: LIST(PaperSize.ENV_C5, OutputBin.Option5)
  1614. *InvalidCombination: LIST(PaperSize.ENV_C5, OutputBin.Option6)
  1615. *InvalidCombination: LIST(PaperSize.ENV_C5, OutputBin.Option7)
  1616. *InvalidCombination: LIST(PaperSize.ENV_C5, OutputBin.Option8)
  1617. *InvalidCombination: LIST(PaperSize.ENV_C5, OutputBin.Option9)
  1618. *InvalidCombination: LIST(PaperSize.ENV_C5, OutputBin.Option10)
  1619. *InvalidCombination: LIST(PaperSize.ENV_C5, OutputBin.Option11)
  1620. *InvalidCombination: LIST(PaperSize.ENV_C5, OutputBin.Option12)
  1621. *InvalidCombination: LIST(PaperSize.ENV_C5, OutputBin.Option14)
  1622. *InvalidCombination: LIST(PaperSize.ENV_C5, OutputBin.Option15)
  1623. *InvalidCombination: LIST(PaperSize.ENV_C5, OutputBin.Option16)
  1624.  
  1625. *Ifdef: WINNT_50
  1626. *InvalidCombination: LIST(PaperSize.DBL_JAPANESE_POSTCARD_ROTATED, OutputBin.Option5)
  1627. *InvalidCombination: LIST(PaperSize.DBL_JAPANESE_POSTCARD_ROTATED, OutputBin.Option6)
  1628. *InvalidCombination: LIST(PaperSize.DBL_JAPANESE_POSTCARD_ROTATED, OutputBin.Option7)
  1629. *InvalidCombination: LIST(PaperSize.DBL_JAPANESE_POSTCARD_ROTATED, OutputBin.Option8)
  1630. *InvalidCombination: LIST(PaperSize.DBL_JAPANESE_POSTCARD_ROTATED, OutputBin.Option9)
  1631. *InvalidCombination: LIST(PaperSize.DBL_JAPANESE_POSTCARD_ROTATED, OutputBin.Option10)
  1632. *InvalidCombination: LIST(PaperSize.DBL_JAPANESE_POSTCARD_ROTATED, OutputBin.Option11)
  1633. *InvalidCombination: LIST(PaperSize.DBL_JAPANESE_POSTCARD_ROTATED, OutputBin.Option12)
  1634. *InvalidCombination: LIST(PaperSize.DBL_JAPANESE_POSTCARD_ROTATED, OutputBin.Option14)
  1635. *InvalidCombination: LIST(PaperSize.DBL_JAPANESE_POSTCARD_ROTATED, OutputBin.Option15)
  1636. *InvalidCombination: LIST(PaperSize.DBL_JAPANESE_POSTCARD_ROTATED, OutputBin.Option16)
  1637. *Endif: WINNT_50
  1638.  
  1639. *InvalidCombination: LIST(PaperSize.MyMax117x177, OutputBin.Option5)
  1640. *InvalidCombination: LIST(PaperSize.MyMax117x177, OutputBin.Option6)
  1641. *InvalidCombination: LIST(PaperSize.MyMax117x177, OutputBin.Option7)
  1642. *InvalidCombination: LIST(PaperSize.MyMax117x177, OutputBin.Option8)
  1643. *InvalidCombination: LIST(PaperSize.MyMax117x177, OutputBin.Option9)
  1644. *InvalidCombination: LIST(PaperSize.MyMax117x177, OutputBin.Option10)
  1645. *InvalidCombination: LIST(PaperSize.MyMax117x177, OutputBin.Option11)
  1646. *InvalidCombination: LIST(PaperSize.MyMax117x177, OutputBin.Option12)
  1647. *InvalidCombination: LIST(PaperSize.MyMax117x177, OutputBin.Option14)
  1648. *InvalidCombination: LIST(PaperSize.MyMax117x177, OutputBin.Option15)
  1649. *InvalidCombination: LIST(PaperSize.MyMax117x177, OutputBin.Option16)
  1650.  
  1651. *Feature: PageProtect
  1652. {
  1653.     *rcNameID: =PAGE_PROTECTION_DISPLAY
  1654.     *DefaultOption: OFF
  1655.     *Option: ON
  1656.     {
  1657.         *rcNameID: =ON_DISPLAY
  1658.         *Command: CmdSelect
  1659.         {
  1660.             *Order: JOB_SETUP.1
  1661.             *Cmd: "<1B>%%-12345X@PJL SET PAGEPROTECT=ON<0A>"
  1662.         }
  1663.     }
  1664.     *Option: OFF
  1665.     {
  1666.         *rcNameID: =OFF_DISPLAY
  1667.         *Command: CmdSelect
  1668.         {
  1669.             *Order: JOB_SETUP.1
  1670.             *Cmd: "<1B>%%-12345X@PJL SET PAGEPROTECT=OFF<0A>"
  1671.         }
  1672.     }
  1673. }
  1674. *Command: CmdStartDoc
  1675. {
  1676.     *Order: DOC_SETUP.7
  1677.     *Cmd: "<1B>&u600D<1B>*r0F"
  1678. }
  1679. *Command: CmdStartPage
  1680. {
  1681.     *Order: PAGE_SETUP.1
  1682.     *Cmd: "<1B>*b0M<0D>"
  1683. }
  1684. *Command: CmdEndJob
  1685. {
  1686.     *Order: JOB_FINISH.1
  1687.     *Cmd: "<1B>E<1B>%%-12345X"
  1688. }
  1689.  
  1690. *% only set number of copies if Collate is OFF -- otherwise, Printer or
  1691. *% Print Processor will take care of it (see *Feature: Collate)
  1692. *switch: Collate
  1693. {
  1694.     *case: OFF
  1695.     {
  1696.         *Command: CmdCopies
  1697.         {
  1698.             *Order: DOC_SETUP.13
  1699.             *% Uncollated copies!  Set copy count to NumOfCopies...
  1700.             *Cmd: "<1B>&l" %d[1,999]{NumOfCopies}"X"
  1701.         }
  1702.     }
  1703.     *case: ON
  1704.     {
  1705.         *Command: CmdCopies
  1706.         {
  1707.             *Order: DOC_SETUP.13
  1708.             *% Printer collate or Spooler collate!  Set copy count to 1...
  1709.             *Cmd: "<1B>&l1X"
  1710.         }
  1711.     }
  1712. }
  1713.  
  1714. *RotateCoordinate?: TRUE
  1715. *RotateRaster?: TRUE
  1716. *RotateFont?: TRUE
  1717. *TextCaps: LIST(TC_CR_90,TC_UA_ABLE)
  1718. *MemoryUsage: LIST(FONT)
  1719. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  1720. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  1721. *XMoveThreshold: 0
  1722. *YMoveThreshold: 0
  1723. *XMoveUnit: 600
  1724. *YMoveUnit: 600
  1725. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{(DestX / 2) }"X" }
  1726. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d[0,9600]{max_repeat((DestXRel / 2) )}"X" }
  1727. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d[0,9600]{max_repeat((DestXRel / 2) )}"X" }
  1728. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{(DestY / 2) }"Y" }
  1729. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{(DestYRel / 2) }"Y" }
  1730. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{(DestYRel / 2) }"Y" }
  1731. *Command: CmdCR { *Cmd : "<0D>" }
  1732. *Command: CmdLF { *Cmd : "<0A>" }
  1733. *Command: CmdFF { *Cmd : "<0C>" }
  1734. *Command: CmdBackSpace { *Cmd : "<08>" }
  1735. *Command: CmdUniDirectionOn { *Cmd : "<00>" }
  1736. *Command: CmdUniDirectionOff { *Cmd : "<00>" }
  1737. *Command: CmdPushCursor { *Cmd : "<1B>&f0S" }
  1738. *Command: CmdPopCursor { *Cmd : "<1B>&f1S" }
  1739. *Command: CmdSetSimpleRotation { *Cmd : "<1B>&a" %d{PrintDirInCCDegrees}"P" }
  1740. *EjectPageWithFF?: TRUE
  1741. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  1742. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  1743. *Command: CmdEnableDRC { *Cmd : "<1B>*b3M" }
  1744. *OutputDataFormat: H_BYTE
  1745. *OptimizeLeftBound?: TRUE
  1746. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  1747. *CursorYAfterSendBlockData: AUTO_INCREMENT
  1748. *DefaultFont: 229
  1749. *DefaultCTT: 0
  1750. *CharPosition: BASELINE
  1751. *TTFSEnabled?: TRUE
  1752. *DeviceFonts: LIST(146,147,148,149,150,151,152,153,154,155,
  1753. +        156,157,164,165,166,196,197,198,199,200,
  1754. +        201,202,203,209,210,211,212,213,214,215,
  1755. +        216,217,218,219,220,221,222,223,224,225,
  1756. +        226,227,228,229,230)
  1757. *FontCartridge: FC1
  1758. {
  1759.     *rcCartridgeNameID: 322
  1760.     *Fonts: LIST(117,118,119,120,121,122,123,124,126,127,128,129,130,131,132,133,125)
  1761. }
  1762. *FontCartridge: FC2
  1763. {
  1764.     *rcCartridgeNameID: 323
  1765.     *Fonts: LIST(1,2,3,4,27,28,29,30,44,45,69,70,71,72,73,74,
  1766. +                   75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,
  1767. +                   91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107)
  1768. }
  1769. *FontCartridge: FC3
  1770. {
  1771.     *rcCartridgeNameID: 324
  1772.     *Fonts: LIST(31,32,33,34,35,36)
  1773. }
  1774. *FontCartridge: FC4
  1775. {
  1776.     *rcCartridgeNameID: 325
  1777.     *Fonts: LIST(37,38,39,40,41,42,43)
  1778. }
  1779. *FontCartridge: FC5
  1780. {
  1781.     *rcCartridgeNameID: 326
  1782.     *Fonts: LIST(16,17,18,46,47,48,49,108,109,110,111,112,113,114,115,116)
  1783. }
  1784. *FontCartridge: FC6
  1785. {
  1786.     *rcCartridgeNameID: 327
  1787.     *Fonts: LIST(40,41,42,43,59,60,65,66,67,68,69,70,71,72,142,143,
  1788. +                   144,145)
  1789. }
  1790. *FontCartridge: FC7
  1791. {
  1792.     *rcCartridgeNameID: 328
  1793.     *Fonts: LIST(10,50,51,52,53,54,55,56,57,58,59,60,62,63,64)
  1794. }
  1795. *FontCartridge: FC8
  1796. {
  1797.     *rcCartridgeNameID: 329
  1798.     *Fonts: LIST(14,19,20,21,22,23,24,25,26)
  1799. }
  1800. *FontCartridge: FC9
  1801. {
  1802.     *rcCartridgeNameID: 330
  1803.     *Fonts: LIST(5,6,7,8,9,11,12,13,14,15,141)
  1804. }
  1805. *FontCartridge: FC10
  1806. {
  1807.     *rcCartridgeNameID: 331
  1808.     *Fonts: LIST(231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,
  1809. +                   247,248)
  1810. }
  1811. *FontCartridge: FC11
  1812. {
  1813.     *rcCartridgeNameID: 332
  1814.     *Fonts: LIST(154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,
  1815. +                   170,171,172,173,174,175,176,177,178,179,180,181,182)
  1816. }
  1817. *FontCartridge: FC12
  1818. {
  1819.     *rcCartridgeNameID: 333
  1820.     *Fonts: LIST(183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,
  1821. +                   199,200,201,202,203,204,205,206,207,208)
  1822. }
  1823. *MinFontID: 16534
  1824. *MaxFontID: 32768
  1825. *switch: Resolution
  1826. {
  1827.     *case: Option1
  1828.     {
  1829.         *FontFormat: HPPCL_OUTLINE
  1830.     }
  1831.     *case: Option2
  1832.     {
  1833.         *FontFormat: HPPCL_RES
  1834.     }
  1835. }
  1836. *Command: CmdSetFontID { *Cmd : "<1B>*c" %d{NextFontID}"D" }
  1837. *Command: CmdSelectFontID { *Cmd : "<1B>(" %d{CurrentFontID}"X" }
  1838. *Command: CmdSetCharCode { *Cmd : "<1B>*c" %d{NextGlyph}"E" }
  1839. *Command: CmdUnderlineOn { *Cmd : "<1B>&dD" }
  1840. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }
  1841. *Command: CmdDownloadPattern {*Cmd: "<1B>*c" %d{PatternBrushID}"G" "<1B>*c" %d{PatternBrushSize}"W" }
  1842. *Command: CmdSelectPattern {*Cmd: "<1B>*c" %d{PatternBrushID}"G" "<1B>*v" %d{PatternBrushType}"T" }
  1843. *Command: CmdSelectWhiteBrush { *Cmd : "<1B>*v1o1T" }
  1844. *Command: CmdSelectBlackBrush { *Cmd : "<1B>*v0o0T" }
  1845. *MinGrayFill: 1
  1846. *MaxGrayFill: 100
  1847. *Command: CmdSetRectWidth { *Cmd : "<1B>*c" %d{(RectXSize / 2) }"A" }
  1848. *Command: CmdSetRectHeight { *Cmd : "<1B>*c" %d{(RectYSize / 2) }"B" }
  1849. *Command: CmdRectGrayFill { *Cmd : "<1B>*c" %d{GrayPercentage }"g2P" }
  1850. *Command: CmdRectWhiteFill { *Cmd : "<1B>*c1P" }
  1851. *Command: CmdRectBlackFill { *Cmd : "<1B>*c0P" }
  1852.